Add Unicode argument support to Windows
authorviettaml <viettaml@google.com>
Tue, 26 Sep 2017 08:10:56 +0000 (01:10 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2017 08:10:56 +0000 (01:10 -0700)
commit3731f8e792277ac133d16e65fcdfe2bac57ed959
treeaa451d0396cc603f26f616f55eed8d480d3776d0
parent840017de49d27afd72777907064ff2efdd6fdd69
Add Unicode argument support to Windows

Use QCoreApplication::arguments() to properly ingest Unicode arguments and convert them to UTF-8. Remove use of QString::fromLocal8Bit(), as file path arguments are no longer "local 8-bit" on Windows (they're UTF-8) and "local 8-bit" on Mac and Linux means UTF-8.
main.cc